<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@page import="classes.players.Player"%>
<%@page import="controllers.playerControlers.ActionsVerifier" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Insert title here</title>
</head>
<body>

	<%
		Player player = (Player) request.getSession().getAttribute("player");
		//Player.getActionsVerifier().verifyAllActions(player);
	%>

	<form method="get" action="/Pandemic/Drive">
		<input type="submit" value="Drive" <% if (!Player.getActionsVerifier().getCanDrive()) { out.print("disabled=\"disabled\""); }%> >
	</form>
	<form method="get" action="/Pandemic/DirectFlight">
		<input type="submit" value="Direct Flight" <% if (!Player.getActionsVerifier().getCanDirectFlight()) { out.print("disabled=\"disabled\""); }%>>
	</form>
	<form method="get" action="/Pandemic/CharterFlight">
		<input type="submit" value="Charter Flight" <% if (!Player.getActionsVerifier().getCanCharterFlight()) { out.print("disabled=\"disabled\""); }%>>
	</form>
	<form method="get" action="/Pandemic/ShuttleFlight">
		<input type="submit" value="Shuttle Flight" <% if (!Player.getActionsVerifier().getCanShuttleFlight()) { out.print("disabled=\"disabled\""); }%>>
	</form>
	<form method="get" action="/Pandemic/BuildResearchStation">
		<input type="submit" value="Build Research Station" <% if (!Player.getActionsVerifier().getCanBuildReserachStation()) { out.print("disabled=\"disabled\""); }%>>
	</form>
	<form method="get" action="/Pandemic/TreatDisease">
		<input type="submit" value="Treat Disease" <% if (!Player.getActionsVerifier().getCanTreatDisease()) { out.print("disabled=\"disabled\""); }%>>
	</form>
	<form method="get" action="/Pandemic/DiscoverACure">
		<input type="submit" value="Discover A Cure" <% if (!Player.getActionsVerifier().getCanDiscoverACure()) { out.print("disabled=\"disabled\""); }%>>
	</form>
	<form method="get" action="/Pandemic/RecieveKnowledge">
		<input type="submit" value="Recieve Knowledge" <% if (!Player.getActionsVerifier().getCanRecieveKnowledge()) { out.print("disabled=\"disabled\""); }%>>
	</form>
	<form method="get" action="/Pandemic/ShareKnowledge">
		<input type="submit" value="Share Knowledge" <% if (!Player.getActionsVerifier().getCanShareKnowledge()) { out.print("disabled=\"disabled\""); }%>>
	</form>
	<form method="get" action="/Pandemic/EndTurn">
		<input type="submit" value="EndTurn">
	</form>
</body>
</html>